package com.lxj.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author lxj
 * @date 2021/8/1 10:05
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RefreshScope
@Component
public class ResourceServerConfig {
    @Value("${resources.url}")
    private String serverPath;
}
